﻿<Fluent:RibbonWindow x:Class="SGTv2.NuevoDepositoView"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:Fluent="clr-namespace:Fluent;assembly=Fluent"
        xmlns:s="http://www.stemasoft.com/xaml"
        mc:Ignorable="d"
        DataContext="{Binding Depositos, Source={StaticResource Locator}}"
  ResizeMode="CanResizeWithGrip" d:DesignHeight="386" d:DesignWidth="562" SizeToContent="WidthAndHeight">

    <Fluent:RibbonWindow.Resources>
        <ResourceDictionary>
            <BooleanToVisibilityConverter x:Key="boolToVis" />

            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/ReuxablesLegacy;component/mercury.xaml" />
            </ResourceDictionary.MergedDictionaries>


        </ResourceDictionary>
    </Fluent:RibbonWindow.Resources>


    <DockPanel LastChildFill="True">
        <Fluent:Ribbon DockPanel.Dock="Top" Title="Trabajar con depositos" >
            <!--Quick Access Toolbar Items-->
            <Fluent:Ribbon.QuickAccessItems>
                <Fluent:QuickAccessMenuItem Target="{Binding ElementName=buttonGreen}"/>
            </Fluent:Ribbon.QuickAccessItems>
            <Fluent:RibbonTabItem Header="Establecer" ReduceOrder="(P),(P),(P),(P),(P)" x:Name="EditarTab" >
                <Fluent:RibbonGroupBox Header="Ejecutar">
                    <Fluent:Button LargeIcon="/SGT;component/Img/save32x32.png"  Header="Guardar" Command="{Binding EstablecerDepositoActual}" />
                    <Fluent:Button LargeIcon="/SGT;component/Img/errorIcon.png"  Header="Cerrar"  Command="{Binding IrAEntradaRemitosDeposito}"/>
                </Fluent:RibbonGroupBox>
            </Fluent:RibbonTabItem>

        </Fluent:Ribbon>
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="143*" />
                <ColumnDefinition Width="397*" />
            </Grid.ColumnDefinitions>
            <Frame Name="frameDeposito" Source="{Binding Path=ContenidoPagina}" Grid.Column="1" />
            <StackPanel Name="stackPanel1">
                <Expander Header="Ingresar datos" Height="100" Name="expander1" IsExpanded="False">
                    <Grid />
                </Expander>
                <Expander Header="Crear sectores" Height="100" Name="expander2" IsExpanded="False">
                    <Grid />
                </Expander>
            </StackPanel>
        </Grid>
    </DockPanel>
</Fluent:RibbonWindow>
